<script type="text/javascript">
  let redirUrl = 'https://overlayplugin.github.io/cactbot/ui/raidboss/raidboss.html?audio=0';
  if (typeof window !== 'undefined') {
    const wsUrl = /[\?&](OVERLAY_WS=[^&]+)/.exec(window.location.href);
    if (wsUrl) {
      redirUrl += '&' + wsUrl[1];
    }
  }
  window.location.href = redirUrl;
</script>
